#pragma once

extern VOID Log(CHAR* szFormat, ...);
extern INT StringTokenize(CHAR * input, CHAR separator, CHAR ** tokenbuf, INT maxtokens);
extern DWORD GetCurrentTEB();
extern DWORD __fastcall SetCurrentTEB(DWORD dwValue);
extern TEB* GetTEBFromThread(HANDLE hThread);